import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class ScreenSelfCenter extends StatefulWidget {
  @override
  _ScreenSelfCenterState createState() => _ScreenSelfCenterState();
}

class _ScreenSelfCenterState extends State<ScreenSelfCenter> {
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      body: new Container(
        height: ScreenUtil.screenHeightDp,
        width: ScreenUtil.screenWidthDp,
        child: new Column(
          children: <Widget>[
            new Container(
              height: ScreenUtil.getInstance().setWidth(654),
              width: ScreenUtil.screenWidthDp,
              child: new Stack(
                children: <Widget>[
                  new Image.asset(
                    "images/my_back.png",
                    height: ScreenUtil.getInstance().setWidth(654),
                    width: ScreenUtil.screenWidthDp,
                    fit: BoxFit.fill,
                  ),
                  new Positioned(
                    left: ScreenUtil.getInstance().setWidth(56),
                    height: ScreenUtil.getInstance().setWidth(60),
                    child: new Row(
                      crossAxisAlignment: CrossAxisAlignment.center,
                      children: <Widget>[
                        new Image.asset(
                          "iamges/mine_back.png",
                          height: ScreenUtil.getInstance().setWidth(50),
                          width: ScreenUtil.getInstance().setWidth(50),
                          fit: BoxFit.fill,
                        ),
                        new Text("返回"),
                      ],
                    ),
                  ),
                ],
              ),
            ),
            new Column(
              children: <Widget>[],
            ),
          ],
        ),
      ),
    );
  }
}
